package com.sinacom.ibuilding.dao.iface;

import java.util.List;
import java.util.Map;

import com.sinacom.ibuilding.beans.Attach;
import com.sinacom.ibuilding.beans.News;


public interface NewsDao {

	
	public List getNewsList(Map map);
	
	public int getNewsListCount(Map map);
	
	public void insertNews(News news);
	
	public void updateNews(News news);
	
	public void deleteNews(Map map);

	public void insertAttach(Attach attach);
	
	public void deleteAttach(Map map);
	
	public List getAttachList(Map map);
	
	public News getPreNews(Map map);
	
	public News getNextNews(Map map);
}
